﻿using System;
using System.Windows.Markup;

namespace MahApps.Metro.IconPacks
{
    [MarkupExtensionReturnType(typeof(PackIconLevs))]
    public class LevsExtension : BasePackIconExtension
    {
        public LevsExtension()
        {
        }

        public LevsExtension(PackIconLevsKind kind)
        {
            this.Kind = kind;
        }

        [ConstructorArgument("kind")]
        public PackIconLevsKind Kind { get; set; }

        public override object ProvideValue(IServiceProvider serviceProvider)
        {
            return this.GetPackIcon<PackIconLevs, PackIconLevsKind>(this.Kind);
        }
    }
}